package com.xd.core.mission.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author ZX
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MissionCenterInfo对象", description="")
public class MissionCenterInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private Integer companyId;

    @ApiModelProperty(value = "人员ID")
    private Integer userId;

    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "文件状态（1-正在导出，2-导出成功，3-导出失败，4-正在导入，5-导入成功，6-导入失败）")
    private String fileStatus;

    @TableField(exist = false)
    @ApiModelProperty(value = "文件状态")
    private String fileStatusName;

    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date createTime;


}
